﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using System.Runtime.Serialization;

namespace DataContracts
{
    /// <summary>
    /// Define AuthorityDTO
    /// </summary>
    [DataContract]
    public class AuthorityDTO
    {
        private int _authorityId;
        private string _authorityName;
        private AuthorityLevelDTO _level;



        /// <summary>
        /// Authority Id
        /// </summary>
        [DataMember]
        public int AuthorityId
        {
            get { return this._authorityId; }
            set { this._authorityId = value; }
        }

        /// <summary>
        /// Authority Name
        /// </summary>
        [DataMember]
        public string AuthorityName
        {
            get { return this._authorityName; }
            set { this._authorityName = value; }
        }

        /// <summary>
        /// Authority Level Attribute
        /// </summary>
        [DataMember]
        public AuthorityLevelDTO Level
        {
            get { return _level; }
            set { _level = value; }
        }
    }
}
